using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PACKETPARSERMAX20.CORE;

namespace PACKETPARSERMAX20.CORE.DEFINITIONS
{
    public class SMSG_QUESTGIVER_QUEST_LIST_DEF : DefinitionBase
    {

        public override bool Process()
        {
            ResetPosition();
            UInt64 npcGUID = ReadUInt64();
            string Title = ReadString();
            UInt32 EmoteDelay = ReadUInt32();                         // player emote
            UInt32 EmoteEmote = ReadUInt32();                         // NPC emote
            byte MenuItemCount = ReadByte();

            for (int i = 0; i < MenuItemCount; i++)
            {

                UInt32 MenuItemquestID = ReadUInt32();
                UInt32 MenuItemIcon = ReadUInt32();
                UInt32 MenuItemQuestLevel = ReadUInt32();
                string MenuItemTitle = ReadString();
            }

            return Validate();
        }
    }
}

